package com.wsoft.bpm.node;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * @Author zhonglj
 * @Date 2024-09-13 10:27
 */
@Getter
@Setter
@Accessors(chain = true)
public class UserTask extends ActivityXml {
    private String id;
    private String name;
    private String assignee;
    private String candidateUsers;
    private String candidateGroups;
    private String dueDate;
    private String category;
    private String formKey;
    private String priority;
    private String skipExpression;
    private Documentation documentation;
    private ExtensionElements extensionElements;
    private MultiInstanceLoopCharacteristics multiInstanceLoopCharacteristics;


    public UserTask() {
        setTagName("userTask");
        putXmlKey("assignee", "activiti:assignee");
        putXmlKey("candidateUsers", "activiti:candidateUsers");
        putXmlKey("candidateGroups", "activiti:candidateGroups");
        putXmlKey("dueDate", "activiti:dueDate");
        putXmlKey("category", "activiti:category");
        putXmlKey("formKey", "activiti:formKey");
        putXmlKey("priority", "activiti:priority");
        putXmlKey("skipExpression", "activiti:skipExpression");
    }
}
